package com.quan.commons.config.wx;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@Data
@ConfigurationProperties(prefix = "wx.pay")
public class WxPayProperties {

    private List<Config> configs;

    @Data
    public static class Config {
        private String name;
        private String appId;
        private String mchId;
        private String mchKey;
        private String subAppId;
        private String subMchId;
        private String keyPath;
        private String serviceId;
        private String certSerialNo;
        private String apiv3Key;
        private String payScoreNotifyUrl;
        private String privateKeyPath;
        private String privateCertPath;
    }

}
